class CreateAgendas < ActiveRecord::Migration
  def self.up
    create_table :agendas do |t|
      t.column :data, :date, :null => false
      t.column :hora, :time, :null => false
      t.column :titulo, :string, :null => false
      t.column :descricao, :text
    end
  end

  def self.down
    drop_table :agendas
  end
end
